// pages/form/icon.js
Page({/**
    * 页面的初始数据
    */
   data: {
    iconType: [
        'success', 'success_no_circle', 'info', 'warn', 'waiting', 'cancel', 'download', 'search', 'clear'
    ],
    gender:"1",

    fav:[
        {
            id:1,
            name:'篮球',
            checked:false
        },
        {
            id:2,
            name:'小说',
            checked:true
        }     
        ,
        {
            id:3,
            name:'网吧',
            checked:false
        }
    ]

   },
 
   genderChange(e){
      const {value} = e.detail;
      console.log("value:"+value);

        this.setData({
            gender:value
        })
   },
   handleCheck(e){
       console.log(e.detail);
   }


})